package com.mall.app.service;

import com.mall.app.bean.TbCart;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 购物车表 服务类
 * </p>
 *
 * @author LeeSin
 * @since 2020-07-10
 */
public interface TbCartService extends IService<TbCart> 
{
	List<TbCart> listPageCart(Map<String, Object> map);

	List<TbCart> listCart(Map<String, Object> map);

	int getCount(Map<String, Object> map);

	boolean removeBatchCarts(String[] cartIds);

	boolean updateCart(TbCart cart);

	boolean insertCart(TbCart cart);

}
